﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;

using AForge.Video;

namespace EyesOnTrain
{
    class NewFrameCapturedEventArgs : NewFrameEventArgs
    {
        private string _deviceId;

        public NewFrameCapturedEventArgs(string deviceId, Bitmap frame) : base(frame)
        {
            if (string.IsNullOrEmpty(deviceId))
                throw new ArgumentNullException("deviceId");

            _deviceId = deviceId;
        }

        public string DeviceId
        {
            get { return _deviceId; }
        }
    }
}
